<div th:fragment="doctors" id="doctors" style="display: none">
    <div class="block-header">
        <div class="row">
            <div class="col-lg-7 col-md-6 col-sm-12">
                <h2>All Doctors
                    <small class="text-muted">Welcome to Compass</small>
                </h2>
            </div>
            <div class="col-lg-5 col-md-6 col-sm-12">
                <button class="btn btn-primary btn-icon btn-round hidden-sm-down float-right m-l-10" type="button">
                    <i class="zmdi zmdi-plus"></i>
                </button>
                <ul class="breadcrumb float-md-right">
                    <li class="breadcrumb-item"><a href="/hospital/index"><i class="zmdi zmdi-home"></i> Compass</a></li>
                    <li class="breadcrumb-item" onclick="backDoctors()"><a href="javascript:void(0);">Doctors</a></li>
                    <li class="breadcrumb-item active"><a href="javascript:void(0);">All Doctors</a></li>
                </ul>
            </div>
        </div>
    </div>
    <div class="container-fluid">
        <div class="row clearfix">
            <div class="col-md-12">
                <div class="card patients-list">
                    <div class="body">
                        <div class="table-responsive">
                            <table class="table m-b-0 table-hover">

                                <div class="form-group">
                                    <input type="text" class="form-control" id="doctor_name" placeholder="请输入医生用户名或真实姓名"/>
                                </div>

                                <thead>
                                <tr>
                                    <th>头像</th>
                                    <th>编号</th>
                                    <th>用户名</th>
                                    <th>密码</th>
                                    <th>真实姓名</th>
                                    <th>权限</th>
                                    <th>创建时间</th>
                                    <th>更新时间</th>
                                    <th>状态</th>
                                    <th>操作</th>
                                </tr>
                                </thead>
                                <tbody id="doctor-list">

                                </tbody>
                                <input id="message" style="color: #1b1e21"/>
                            </table>


                            <!--分页-->
                            <div class="page">

                                <style>
                                    .page-item {
                                        padding: 1px 5px;
                                        border: 1px solid #afafaf;
                                        margin-left: 3px
                                    }

                                    .page-item.active {
                                        color: red;
                                        border: 1px solid red;
                                    }
                                </style>

                                <div style="float: right">
                                    <a id="down" href="#" class="page-item" onClick="change1(--pageno)">上一页</a>　　
                                    <span id="d_pagenum"></span>
                                    <a id="up" href="#" class="page-item"  onClick="change1(++pageno)">下一页</a>
                                </div>

                                <div style="float: left" >
                                    <span class="ho">当前第<span id="d_pageno"></span>页，共<span id="d_pageall"></span>页,总记录数共<span id="d_total"></span>页</span>
                                </div>
                            </div>
                            <!--用来存放总页数，放置在body中-->
                            <input type="hidden"  style="display:block" id="doctor_pages"/>
                            <input type="hidden"  style="display:block" id="doctor_total"/>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>